package org.xenon.vote.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *  user's basic configurations
 */
@Component
@ConfigurationProperties(prefix = "cos.basic.user")
public class UserConfig {
    int ballotLimit;

    public int getBallotLimit() {
        return ballotLimit;
    }

    public void setBallotLimit(int ballotLimit) {
        this.ballotLimit = ballotLimit;
    }
}
